<!--导航栏-->
<template>
  <div>
    <el-container>
      <el-aside width="200px">
        <el-button-group>
          <router-link to="/output"><el-button type="info" style="width: 200px" plain>支出</el-button></router-link><br>
          <router-link to="/input"><el-button type="info" style="width: 200px" plain>收入</el-button></router-link><br>
          <router-link to="/insertOutput"><el-button type="info" style="width: 200px" plain>新增一条记录</el-button></router-link><br>
          <router-link to="/kind"><el-button type="info" style="width: 200px" plain>类别管理</el-button></router-link>
        </el-button-group>

      </el-aside>
    </el-container>
  </div>
</template>

<script>
export default {
  name: "Header"
}
</script>

<style scoped>
a{
  width: 200px;
  text-decoration: none;
  color: #fab6b6;
  font-size: large;
  /*background-color: palevioletred;*/
}
.router-link-active{
  text-decoration: none;
  color: palevioletred;
  background-color: #fab6b6;
}

</style>